﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Willow.Authorization
{
    public class LoginAction
    {
        public System.Guid Id { get; set; }
        public string Name { get; set; }
        public string Handle { get; set; }
        public string BelongURL { get; set; }
        public string Icon { get; set; }
        public int DisplayOrder { get; set; }
        public ActionCategory Category { get; set; }
    }
    public enum ActionCategory
    {
        Null = 0,
        /// <summary>
        /// 按钮
        /// </summary>
        Button = 1,
        /// <summary>
        /// 代码块
        /// </summary>
        CodeBlock = 2
    }
}
